{
  "resourceType": "Bundle",
  "id": "BundleEncObservCase3",
  "meta": {
    "profile": [
      "https://fhir.by/AbstractArea/StructureDefinition/Bundle/MedicationDocument"
    ]
  },
  "timestamp": "2026-03-13T16:00:00Z",
  "identifier": {
    "system": "https://fhir.by/ValueSet/urn:ietf:rfc:3987",
    "value": "urn:uuid:6c3151bd-1cbf-4d64-b04d-cd9187a4c6t9"
  },
  "type": "document",
  "entry": [
    {
      "fullUrl": "Composition/CompositionBundleEncObservCase3",
      "resource": {
        "resourceType": "Composition",
        "id": "CompositionBundleEncObservCase3",
        "meta": {
          "profile": [
            "https://fhir.by/StructureDefinition/CompDocument"
          ]
        },
        "status": "final",
        "type": {
          "coding": [
            {
              "system": "https://fhir.by/ValueSet/CompositionType",
              "code": "general",
              "display": "Общая медицинская информация"
            }
          ]
        },
        "subject": [
          {
            "reference": "Patient/pa-00000000-0000-0000-0000-000000000000"
          }
        ],
        "encounter": {
          "reference": "Encounter/ea-00000000-0000-0000-0000-000000000000"
        },
        "date": "2026-03-13T16:00:00Z",
        "author": [
          {
            "reference": "Practitioner/00000000-0000-0000-0000-000000000000"
          }
        ],
        "title": "CompDocument о повторном посещении пациентом врача общей практики",
        "custodian": {
          "reference": "Organization/00000000-0000-0000-0000-000000000000"
        },
"event": [
    {
        "detail": [
            {
                "reference": {
                    "reference": "Condition/ea-00000000-0000-0000-0000-000000000000"
                }
            }
        ]
    },
    {
        "detail": [
            {
                "reference": {
                    "reference": "Observation/oa-00000000-0000-0000-0000-000000000000"
                }
            }
        ]
    },
    {
        "detail": [
            {
                "reference": {
                    "reference": "Observation/oa-00000000-0000-0000-0000-000000000000"
                }
            }
        ]
    },

        {
        "detail": [
            {
                "reference": {
                    "reference": "QuestionnaireResponse/ma-00000000-0000-0000-0000-000000000000"
                }
            }
        ]
    },
    {
        "detail": [
            {
                "reference": {
                    "reference": "MedicationRequest/mr-00000000-0000-0000-0000-000000000000"
                }
            }
        ]
    }
]
            }
        },
        {
            "fullUrl": "Patient/pa-00000000-0000-0000-0000-000000000000",
            "resource": {
                "resourceType": "Patient",
                "id": "PatientTest",
                "meta": {
                    "profile": [
                        "https://fhir.by/StructureDefinition/PatientWithIdentificationNumber"
                    ]
                },
                "name": [
                    {
                        "family": "Иванова",
                        "given": [
                            "Полина",
                            "Михайловна"
                        ]
                    }
                ],
                "identifier": [
                    {
                        "type": {
                            "coding": [
                                {
                                    "system": "https://fhir.by/ValueSet/PersonalDocumentType",
                                    "code": "INP"
                                }
                            ]
                        },
                        "value": "7551323A009PB7"
                    },
                    {
                        "extension": [
                            {
                                "extension": [
                                    {
                                        "url": "https://fhir.by/StructureDefinition/PassportIssuedString",
                                        "valueString": "Центральным РУВД г Минска, 21.08.2021"
                                    },
                                    {
                                        "url": "https://fhir.by/StructureDefinition/PassportIssuedDate",
                                        "valueDate": "2022-08-21"
                                    },
                                    {
                                        "url": "https://fhir.by/StructureDefinition/PassportIssuedCode",
                                        "valueCodeableConcept": {
                                            "coding": [
                                                {
                                                    "system": "https://fhir.by/ValueSet/OCAM",
                                                    "version": "1.3",
                                                    "code": "Minsk",
                                                    "display": "Минск"
                                                }
                                            ]
                                        }
                                    }
                                ],
                                "url": "https://fhir.by/StructureDefinition/PassportIssued"
                            }
                        ],
                        "type": {
                            "coding": [
                                {
                                    "system": "https://fhir.by/ValueSet/PersonalDocumentType",
                                    "version": "1.10",
                                    "code": "Passport-RB",
                                    "display": "Паспорт гражданина Республики Беларусь"
                                }
                            ]
                        },
                        "value": "MP1955212"
                    }
                ],
                "active": true,
                "telecom": [
                    {
                        "system": "phone",
                        "value": "+375123456789"
                    }
                ],
                "gender": "female",
                "birthDate": "1980-12-31",
                "deceasedBoolean": false,
                "address": [
                    {
                        "extension": [
                            {
                                "url": "https://fhir.by/StructureDefinition/CoutryForAddresses",
                                "valueCodeableConcept": {
                                    "coding": [
                                        {
                                            "system": "https://fhir.by/ValueSet/CitizenshipCode",
                                            "version": "1.51",
                                            "code": "BY",
                                            "display": "Беларусь"
                                        }
                                    ]
                                }
                            },
                            {
                                "url": "https://fhir.by/StructureDefinition/StreetGeoRegistry",
                                "valueCodeableConcept": {
                                    "coding": [
                                        {
                                            "system": "https://fhir.by/ValueSet/StreetGeoRegistry",
                                            "version": "1.3",
                                            "code": "517030229743858774",
                                            "display": "Минск, г. Минск, Улица Уручская, д. 23 к.2"
                                        }
                                    ]
                                }
                            },
                            {
                                "url": "https://fhir.by/StructureDefinition/ApartmentRoom",
                                "valueString": "кв. 101"
                            }
                        ],
                        "use": "home",
                        "text": "г. Минск, Улица Уручская"
                    },
                    {
                        "extension": [
                            {
                                "url": "https://fhir.by/StructureDefinition/CoutryForAddresses",
                                "valueCodeableConcept": {
                                    "coding": [
                                        {
                                            "system": "https://fhir.by/ValueSet/CitizenshipCode",
                                            "version": "1.51",
                                            "code": "BY",
                                            "display": "Беларусь"
                                        }
                                    ]
                                }
                            },
                            {
                                "url": "https://fhir.by/StructureDefinition/StreetGeoRegistry",
                                "valueCodeableConcept": {
                                    "coding": [
                                        {
                                            "system": "https://fhir.by/ValueSet/StreetGeoRegistry",
                                            "version": "1.3",
                                            "code": "517030229743858774",
                                            "display": "Минск, г. Минск, Улица Уручская, д. 23 к.1201"
                                        }
                                    ]
                                }
                            },
                            {
                                "url": "https://fhir.by/StructureDefinition/ApartmentRoom",
                                "valueString": "кв. 1201"
                            }
                        ],
                        "use": "temp",
                        "text": "г. Минск, Улица Уручская"
                    }
                ]
            }
        },
        {
            "fullUrl": "Encounter/ExampleEncounterEncObservCase3",
            "resource": {
                "resourceType": "Encounter",
                "id": "ExampleEncounterEncObservCase3",
                "meta": {
                    "profile": [
                        "https://fhir.by/StructureDefinition/EncounterGeneral"
                    ]
                },
                "extension": [
                    {
                        "url": "https://fhir.by/StructureDefinition/EncounterTypeOfVisit",
                        "valueCodeableConcept": {
                            "coding": [
                                {
                                    "system": "https://fhir.by/ValueSet/EncounterTypeOfVisit",
                                    "code": "repeated",
                                    "display": "повторное обращение"
                                }
                            ]
                        }
                    },
                    {
                        "url": "https://fhir.by/StructureDefinition/EncounterTypeOfService",
                        "valueCodeableConcept": {
                            "coding": [
                                {
                                    "system": "https://fhir.by/ValueSet/EncounterTypeOfService",
                                    "code": "free",
                                    "display": "Бесплатные услуги"
                                }
                            ]
                        }
                    }
                ],
                "status": "completed",
                "class": [
                    {
                        "coding": [
                            {
                                "system": "https://fhir.by/ValueSet/VSTermsOfService",
                                "code": "1",
                                "display": "амбулаторные"
                            }
                        ]
                    }
                ],
                "priority": {
                    "coding": [
                        {
                            "system": "https://fhir.by/ValueSet/HealthCareForms",
                            "code": "planned",
                            "display": "Плановая медицинская помощь"
                        }
                    ]
                },
                "type": [
                    {
                        "coding": [
                            {
                                "system": "https://fhir.by/ValueSet/TypeOfHealthCare",
                                "code": "primary",
                                "display": "Первичная медицинская помощь"
                            }
                        ]
                    }
                ],
                "subject": {
                    "reference": "Patient/pa-00000000-0000-0000-0000-000000000000"
                },
                "serviceProvider": {
                    "reference": "Organization/00000000-0000-0000-0000-000000000000"
                },
                "participant": [
                    {
                        "actor": {
                            "reference": "PractitionerRole/00000000-0000-0000-0000-000000000000"
                        }
                    }
                ],
                "actualPeriod": {
                    "start": "2026-03-13T16:00:00Z",
                    "end": "2026-03-13T16:00:00Z"
                },
                "diagnosis": [
                    {
                        "condition": [
                            {
                                "reference": {
                                    "reference": "Condition/ea-00000000-0000-0000-0000-000000000000",
                                    "display": "I11.9 - Гипертензивная [гипертоническая] болезнь с преимущественным поражением сердца без (застойной) сердечной недостаточности"
                                }
                            }
                        ],
                        "use": [
                            {
                                "coding": [
                                    {
                                        "system": "https://fhir.by/ValueSet/TypeOfDiagnosis",
                                        "code": "mainDiagnosis",
                                        "display": "Основной диагноз"
                                    }
                                ]
                            }
                        ]
                    }
                ],
                "location": [
                    {
                        "location": {
                            "reference": "Location/00000000-0000-0000-0000-000000000000"
                        }
                    }
                ]
            }
        },
                {
            "fullUrl": "Condition/ExampleDiagnosisEncObservCase3",
            "resource": {
                "resourceType": "Condition",
                "id": "ExampleDiagnosisEncObservCase3",
                "meta": {
                    "profile": [
                        "https://fhir.by/StructureDefinition/FinalDiagnosis"
                    ]
                },
                "extension": [
                    {
                        "url": "https://fhir.by/StructureDefinition/KindOfDiagnosis",
                        "valueCodeableConcept": {
                            "coding": [
                                {
                                    "system": "https://fhir.by/ValueSet/KindOfDiagnosisCode",
                                    "code": "Final"
                                }
                            ]
                        }
                    },
                    {
                        "url": "https://fhir.by/StructureDefinition/AssertedDate",
                        "valueDateTime": "2026-03-13"
                    }
                ],
                "clinicalStatus": {
                    "coding": [
                        {
                            "system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
                            "code": "active"
                        }
                    ]
                },
                "code": {
                    "coding": [
                        {
                            "system": "https://fhir.by/ValueSet/InternClassificDiseases10",
                            "code": "I11.9",
                            "display": "I11.9 - Гипертензивная [гипертоническая] болезнь с преимущественным поражением сердца без (застойной) сердечной недостаточности"
                        }
                    ]
                },
                "subject": {
                    "reference": "Patient/pa-00000000-0000-0000-0000-000000000000"
                },
                "onsetDateTime": "2026-03-13",
                "recordedDate": "2026-03-13"
            }
        },
                {
            "fullUrl": "Observation/ExampleObservCaseComplaints3",
            "resource": {
       "resourceType": "Observation",
  "id": "ExampleObservCaseComplaints3",
  "meta": {
    "profile": [
      "https://fhir.by/StructureDefinition/ObservationSubjective"
    ]
  },
  "status": "final",
        "category": [
          {
            "coding": [
              {
                "system": "https://fhir.by/ValueSet/ObservationCategoryCode",
                "code": "exam",
                "userSelected": false
              }
            ]
          }
        ],
  "code": {
    "coding": [
      {
        "system": "https://fhir.by/ValueSet/ObservationSubjectiveCode",
        "code": "complaints",
        "display": "Жалобы"
      }
    ]
  },
  "subject": {
    "reference": "Patient/pa-00000000-0000-0000-0000-000000000000"
  },
  "encounter": {
    "reference": "Encounter/ea-00000000-0000-0000-0000-000000000000",
    "display": "Осмотр терапевта"
  },
  "effectiveDateTime": "2026-03-13T16:00:00Z",
  "performer": [
    {
      "reference": "PractitionerRole/00000000-0000-0000-0000-000000000000"
    }
  ],
  "valueString": "Жалобы на головные боли, одышка при физической нагрузке. После приема назначенного Метопролола головокружения нет."
            }
        },
        {
            "fullUrl": "Observation/ArterialBloodPressureForEncObserv3",
            "resource": {
                "resourceType": "Observation",
                "id": "ArterialBloodPressureForEncObserv3",
                "meta": {
                    "profile": [
                        "https://fhir.by/StructureDefinition/VitalSignsBy"
                    ]
                },
                "status": "final",
        "category": [
          {
            "coding": [
              {
                "system": "https://fhir.by/ValueSet/ObservationCategoryCode",
                "code": "vital-signs",
                "userSelected": false
              }
            ]
          }
        ],
        "code": {
          "coding": [
            {
              "system": "https://fhir.by/ValueSet/VitalSignsCodes",
              "code": "arterial-blood-pressure"
            }
          ]
        },
        "subject": {
          "reference": "Patient/pa-00000000-0000-0000-0000-000000000000"
        },
        "encounter": {
          "reference": "Encounter/ea-00000000-0000-0000-0000-000000000000"
        },
        "effectiveDateTime": "2026-03-13T16:00:00Z",
        "performer": [
          {
            "reference": "PractitionerRole/00000000-0000-0000-0000-000000000000"
          }
        ],
        "component": [
          {
            "code": {
              "coding": [
                {
                  "system": "https://fhir.by/ValueSet/VitalSignsCodes",
                  "code": "systolic-arterial-blood-pressure"
                }
              ]
            },
            "valueQuantity": {
              "value": 135,
              "unit": "mm[Hg]",
              "system": "http://unitsofmeasure.org",
              "code": "mm[Hg]"
            }
          },
          {
            "code": {
              "coding": [
                {
                  "system": "https://fhir.by/ValueSet/VitalSignsCodes",
                  "code": "diastolic-arterial-blood-pressure"
                }
              ]
            },
            "valueQuantity": {
              "value": 85,
              "unit": "mm[Hg]",
              "system": "http://unitsofmeasure.org",
              "code": "mm[Hg]"
            }
          }
        ]
      }
    },
            {
      "fullUrl": "QuestionnaireResponse/ExampleAVBadHabitsCase3",
      "resource": {
        "resourceType": "QuestionnaireResponse",
        "id": "ExampleAVBadHabitsCase2",
        "meta": {
          "profile": [
            "https://fhir.by/StructureDefinition/AVBadHabits"
          ]
        },
        "questionnaire": "https://fhir.by/Questionnaire/QAVBadHabits",
        "status": "completed",
        "subject": {
          "reference": "Patient/pa-00000000-0000-0000-0000-000000000000"
        },
        "encounter": {
          "reference": "Encounter/ea-00000000-0000-0000-0000-000000000000"
        },
        "authored": "2026-03-13T16:00:00Z",
        "author": {
          "reference": "PractitionerRole/00000000-0000-0000-0000-000000000000"
        },
        "source": {
          "reference": "Patient/pa-00000000-0000-0000-0000-000000000000"
        },
        "item": [
          {
            "linkId": "1",
            "text": "Курение",
            "answer": [
              {
                "valueBoolean": true
              }
            ]
          },
          {
            "linkId": "1.1",
            "text": "Дополнительная информация о курении",
            "answer": [
              {
                "valueString": "Пациент курит  1 сигарету в день"
              }
            ]
          },
          {
            "linkId": "2",
            "text": "Употребление алкоголя",
            "answer": [
              {
                "valueBoolean": true
              }
            ]
          },
          {
            "linkId": "2.1",
            "text": "Дополнительная информация об употреблении алкоголя",
            "answer": [
              {
                "valueString": "Алкоголь принимает в умеренных количествах по праздникам"
              }
            ]
          },
          {
            "linkId": "3",
            "text": "Употребление наркотиков",
            "answer": [
              {
                "valueCoding": {
                  "code": "N"
                }
              }
            ]
          }

        ]
      }
    },
            {
            "fullUrl": "MedicationRequest/ExampleMedicationOrderEncCase3",
            "resource": {
                "resourceType": "MedicationRequest",
                "id": "ExampleMedicationOrderEncCase3",
                "meta": {
                    "profile": [
                        "https://fhir.by/StructureDefinition/MedicationOrder"
                    ]
                },
                "status": "active",
                "intent": "order",
                "category": [
                    {
                        "coding": [
                            {
                                "system": "https://fhir.by/ValueSet/CourseOfTherapyType",
                                "code": "course",
                                "display": "Короткий курс медикаментозной терапии"
                            }
                        ]
                    }
                ],
                "medication": {
                    "reference": {
                        "reference": "Medication/4aec80d3-53ae-4c0b-b01b-915afaa86a46"
                    }
                },
                "subject": {
                    "reference": "Patient/pa-00000000-0000-0000-0000-000000000000"
                },
                "informationSource": [
                    {
                        "reference": "Organization/00000000-0000-0000-0000-000000000000"
                    }
                ],
                "encounter": {
                    "reference": "Encounter/ea-00000000-0000-0000-0000-000000000000"
                },
                "authoredOn": "2026-03-13T16:00:00Z",
                "requester": {
                    "reference": "PractitionerRole/00000000-0000-0000-0000-000000000000"
                },
                "reason": [
                    {
                        "reference": {
                            "reference": "Condition/ea-00000000-0000-0000-0000-000000000000"
                        }
                    }
                ],
                "effectiveDosePeriod": {
                    "start": "2026-03-13",
                    "end": "2026-04-16"
                },
                "dosageInstruction": [
                    {
                        "patientInstruction": "Принимать по 50 мг два раза в день (утром и вечером). Таблетки принимают внутрь независимо от приема пищи, не разжевывая и запивая достаточным количеством питьевой воды.",
                        "timing": {
                            "repeat": {
                                
                                "frequency": 2,
                                "period": 1,
                                "periodUnit": "d"
                            },
                            "code": {
                                "text": "Во время еды или непосредственно перед едой"
                            }
                        },
                        "route": {
                            "coding": [
                                {
                                    "system": "https://fhir.by/ValueSet/MedicationRouteAdmin",
                                    "code": "048",
                                    "display": "для приема внутрь"
                                }
                            ]
                        },
                        "doseAndRate": [
                            {
                                "doseQuantity": {
                                    "value": 1,
                                    "unit": "таблетка",
                                    "system": "https://fhir.by/ValueSet/MedicationByUnits",
                                    "code": "tablet"
                                }
                            }
                        ]
                    }
                ]
            }
        }
  ]
}
